#coding=utf-8
import wx
class MainFrame(wx.Frame):
	def __init__(self):
		wx.Frame.__init__(self, None, -1, 'self.title')

		sizer = wx.BoxSizer(wx.VERTICAL)
		# p = wx.Panel(self,-1,size=(200,50))
		st = wx.StaticText(self,-1,u'VERTICAL')
		st1 = wx.StaticText(self,-1,u'VERTICAL1',pos=(100,100))
		# sizer.Add(st,1,flag=wx.EXPAND)
		# sizer.Add(wx.StaticText(p,-1,u'供应商名称1：'),1,flag=wx.EXPAND)
		sizer.Add(st,1,flag=wx.EXPAND)
		sizer.Add(st1,1,flag=wx.EXPAND)

		top = wx.BoxSizer(wx.HORIZONTAL )
		top.Add(wx.StaticText(self,-1,u'HORIZONTAL'),1,flag=wx.EXPAND)
		top.Add(wx.StaticText(self,-1,u'HORIZONTAL1'),1,flag=wx.EXPAND)
		sizer.Add(top,1,flag=wx.EXPAND)
		# p.SetBackgroundColour('red')
		self.isMax = False

		self.SetSizer(sizer)
		self.Fit()


app = wx.PySimpleApp()
MainFrame().Show()
app.MainLoop()